from django.db import models
from issue.models import Issue
# Create your models here.
class IssueFile(models.Model):
    id = models.AutoField(primary_key=True)
    content = models.FileField(
        upload_to='download/issue_file', blank=True, null=True)
    issue_id = models.ForeignKey(
        Issue, on_delete=models.CASCADE, related_name="file", blank=True, null=True
    )